#-*- coding:utf-8 -*-

FIELD_BOOLEAN = 1
FIELD_NUMERIC = 2
FIELD_STRING = 3

class Field:
	def __init__(self, name, type):
		self.name = name
		self.type = type
		
	
	
class Unit:
	""" Unit that describes generic node on System Air-conditioner Network. """
	def __init__(self):
		pass

	def addField(self, name):
		pass
	
	def removeField(self, name):
		pass
	
	def getFieldList(self):
		pass
	
	def set(self, name, val):
		pass
	
	def get(self, name):
		pass
	
	
class IndoorUnit(Unit):
	""" Generic Indoor Unit """
	def __init__(self):
		addField("roomtemp")
		addField("settemp")
		addField("operation")
		

class OutdoorUnit(Unit):
	pass



